package com.tanhua.autoconfig.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * application.yml
 * tanhua:
 *    sms:
 *        signName:
 *        templateCode：
 *        accessKey:
 *    oss:
 *       xxx:
 *       xxx:
 */
@Data
@ConfigurationProperties(prefix = "tanhua.sms")
public class SmsProperties {
    //签名
    private String signName;
    //短信模板code
    private String templateCode;
    //ak
    private String accessKey;
    //sk
    private String secret;
}